package cn.sdormitory.workflow.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("sd_violation_apply")
public class ViolationApply {

    private Long id;

    @TableField(exist = false)
    private String applyId;
    
    @TableField(exist = false)
    private String dormitoryNo;
    
    @TableField(exist = false)
    private String buildingNo;
    
    @TableField(exist = false)
    private String classTeacherWxOpenId;

    /**申请单编号*/
    private String applyNo;

    /**流程实例ID*/
    private String processInstanceId;

    /**宿舍ID*/
    private String sdId;

    /**学生ID*/
    private String studentId;

    /**学生姓名*/
    private String studentName;

    /**违纪内容*/
    private String violationReason;

    /**违纪照片*/
    private String violationImg;

    /**学生照片*/
    private String studentImg;

    /**班级ID*/
    private String classId;

    /**班级名称*/
    private String className;

    /**违纪类型 1-轻微违纪 2-一般违纪 3-重大违纪*/
    private String violationType;

    /**违纪详细类型*/
    private String violationTypeDetail;

    /**处理结果*/
    private String processResult;

    /**处理结果文件地址，多个文件逗号分割*/
    private String resultFilePath;

    /**处理结果文件名，多个文件名逗号分割*/
    private String resultFileName;

    /**当前审批人*/
    private String currentApprover;

    /**当前审批节点*/
    private String currentNode;

    /**申请单状态 0-申请被驳回  1-审批中 2-申请单被撤回 10-审批通过*/
    private String applyStatus;

    /**创建时间*/
    private Date createTime;

    /**创建人*/
    private String createBy;

    /**修改时间*/
    private Date modifyTime;

    /**修改人*/
    private String modifyBy;

    @TableField(exist = false)
    private Integer pageNum;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private String type;
}
